package com.atguigu.maven.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

/**
 * @ClassName User
 * @Author heartFade
 * @Date 2025-04-23 15:10
 * @Version 1.0
 * @Description TODO
 **/
@TableName("user")
@Data
public class User {
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    @TableField("name")
    private String name;
    @TableField("age")
    private Integer age;
    @TableField("email")
    private String email;
    @TableField("deleted")
    @TableLogic
    private Integer deleted;
}
